<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Public.aspx.cs" Inherits="IGlobalist.Cms.Chat.Public" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Public</title>
    <link href="Css/Chat.css" type="text/css" rel="stylesheet"  />
</head>
<body onunload="APublic.Leave()">
    <form id="form1" runat="server">
   <input id="hdnRoomID" type="hidden" name="hdnRoomID" runat="server" value="1"/>
    <input id="hdnReceiver" type="hidden" name="hdnReceiver" runat="server" value=""/>
    <input id="hdnCurrentAccount" type="hidden" name="hdnCurrentAccount" runat="server" value=""/>
    
        <asp:ScriptManager ID="ScriptManager1" runat="server"  EnablePartialRendering="True" EnablePageMethods="True">
            <Scripts>
                <asp:ScriptReference Path="Jscript/Utils.js" />
                <asp:ScriptReference Path="Jscript/HashTable.js" />
                <asp:ScriptReference Path="Jscript/AdminPublic.js"  />
            </Scripts>
        </asp:ScriptManager>                     
        <div id="Adchat_dinamic">
            <div id="Adchat-header">
                Oneeducation Chat
            </div>
            <div id="Adchat-title">
                <div style="float:left">
                 <asp:Label ID="lblCurrentUser" runat="server" /> - Room: <asp:Label runat="server" ID="lblRoomName" />
                 </div>
                 <div style="float:right;margin-right:50px">
                    Members Online
                 </div>
            </div>
            <div id="Adchat_body">

            </div>
            <div id="Adchat_right">
                
            </div>
            <div id="Adchat_bodycontent">
                <asp:Literal runat="server" ID="ltrMessage">
                      <div id="displayMessage" style="margin:0px 8px 0px 8px; width:98%;height:250px;overflow:auto">
                     {0}
                     </div>
                 </asp:Literal>   
            </div>
            <div id="Adchat_rightcontent" >
                <div style="margin:0px 8px 0px 8px">
                <asp:ListBox runat="server" Width="130px" ID="lstMembers"  Height="250px" ></asp:ListBox>
                </div>
            </div>
            <div id="Adchat_bodybottom">
            </div>
            <div id="Adchat_rightbottom">

            </div>
            <div id="Adchat_footer">
                <asp:TextBox id="txtMsg"  Runat="server" CssClass="text"></asp:TextBox>              
                <input id="btn" onclick="APublic.button_clicked()" type="button" value="" class="submit"/>
            </div>
        </div>
        
    </form>
</body>
</html>
